#!/bin/bash

calico_version=v3.25
# download calico
#curl https://docs.projectcalico.org/manifests/calico.yaml -O
wget https://docs.projectcalico.org/archive/$calico_version/manifests/calico.yaml

# edit calico.yaml change this
# no effect. This should fall within `--cluster-cidr`.
#            - name: CALICO_IPV4POOL_CIDR
#              value: "10.233.0.0/16"

#kubectl apply -f calico.yaml

# install calico maybe take a long time
#kubectl get pods -o wide -n kube-system

